package com.example.kaogong.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 试卷
 * </p>
 *
 * @author    
 * @since 2022-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_paper")
@ApiModel(value="Paper对象", description="试卷")
public class Paper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "试卷编号")
    @TableId(value = "paper_id", type = IdType.AUTO)
    private Integer paperId;

    @ApiModelProperty(value = "教师编号")
    private Integer teacherId;

    @ApiModelProperty(value = "试卷名称")
    private String paperName;

    @ApiModelProperty(value = "试卷类型(1-客观题{选择判断}，2-主观题{填空论述})")
    private Integer paperType;

    @ApiModelProperty(value = "试卷状态（1-未发布，2-发布）")
    private Integer paperStatus;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "作答时长(min)")
    private Integer testTime;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;
}
